package com.jxs.android.ges;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;

import com.jxs.android.util.VersionHolder;
import com.jxs.android.weiget.TopBar;
import com.jxs.android.ges.R;

public class LaucherSystemMore_About_Sys extends AbstractActivity implements OnClickListener {

	private TextView current_vesion_tv;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		initTopBar(savedInstanceState, R.layout.bu_sys_more_about_sys);
		current_vesion_tv = (TextView) findViewById(R.id.current_vesion_tv);

		String version = "";
		try {
			version = VersionHolder.getVersionName(this);
		} catch (Exception e) {
			version = "1.0";
		}
		current_vesion_tv.setText(getString(R.string.bu_more_about_sys_version, version));
	}

	@Override
	public void onClick(View v) {

	}

	@Override
	public void topBarLogic(TopBar topBar) {
		topBar.hindSpinnerBtn();
		topBar.setTitle(R.string.bu_more_about_sys);
		topBarReturn(topBar);
	}

}